/*
 * sameFrequency.h
 *
 *  Created on: 17 sept. 2013
 *      Author: the
 */

#ifndef SAMEFREQUENCY_H_
#define SAMEFREQUENCY_H_

#include <stdio.h>
#include "type.h"
#include "metric.h"
#include "anh.h"

extern int nbOfNodes;		//Number of nodes
extern struct node* nodes;	//Array with the nodes
extern int nbOfRadios;		//Number of radios per node

//Alloue la meme frequence partout (frequence 0) et sur la meme radio (0) les autres radios ne sont pas alloues
void allocateSameFrequency(int nbOfRoutes);


#endif /* SAMEFREQUENCY_H_ */
